package learn_effective_java.item_02.pizza;

import learn_effective_java.item_02.pizza.NyPizza.Builder;
import learn_effective_java.item_02.pizza.NyPizza.Size;
import learn_effective_java.item_02.pizza.Pizza.Topping;

public class PizzaClient {
	
	public static void main(String[] args) {
		NyPizza nyPizza = new NyPizza.Builder(Size.LARGE)
				.addTopping(Topping.SAUSAGE)
				.addTopping(Topping.ONION)
				.build();
		System.out.println(nyPizza);
		
		Calzone calzone = new Calzone.Builder()
				.sauceInside()
				.addTopping(Topping.HAM)
				.addTopping(Topping.PEPPER)
				.build();
		System.out.println(calzone);
		
	}

}
